package com.xf.common.core.entity.system;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author xufeng
 * 客户端的远程权限列表　
 */
@Data
@TableName("t_user_remote_permission")
public class UserRemotePermission {
    @NotNull(message = "userId不能为空")
    private String userId;
    /**
     * permission 示例 role:view,role:insert
     */
    @NotNull(message = "permission不能为空")
    private String permission;

}